package com.example.gulimall.member;

import com.example.common.constant.BeanScanConstant;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;

@EnableFeignClients
@EnableDiscoveryClient
@EnableRedisHttpSession
@SpringBootApplication(scanBasePackages = {
                BeanScanConstant.SENTINEL_PATH,
                BeanScanConstant.COMMON_PATH,
                BeanScanConstant.MEMBER_SELF,
                BeanScanConstant.COMMON_PATH,
                BeanScanConstant.FEIGN_PATH
        }
)
public class GulimallMemberApplication {

    public static void main(String[] args) {
        SpringApplication.run(GulimallMemberApplication.class, args);
    }

}

